Conversation
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
artur-ciocanu
left a comment
There was a problem hiding this comment.
@artursouza looks great!
I have a more general design question related to ActorState. ActorState uses a generic type, however in ActorStateManager it is used without generic type. I am wondering if we should try to enforce generic type usage across other classes like: AbstractActor, StateChangeMetadata, ActorStateOperation, etc to ensure a stronger type safety.
What are your thoughts?
sdk-actors/src/main/java/io/dapr/actors/runtime/ActorStateManager.java
Outdated
Show resolved
Hide resolved
Let me give it a try. These are not exposed to the user and are for internal use only. There might be a reason I did not propagate the generic type everywhere, but I don't remember now. Again, let me revisit this. |
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
See my reply. This is not needed because it is used for serialization and does not interface with the user's API. |
Add new line to make GitHub happy
artur-ciocanu
left a comment
There was a problem hiding this comment.
Looks really, really good!
Ensure the test compiles and uses the right DaprRun instance.
Fix compilation errors
Fix compilation errors
artur-ciocanu
left a comment
There was a problem hiding this comment.
Approving one more time for CI
Increase sleep for actor activation
|
@artursouza if you'll have some time could you please check why the tests are failing. I have tried to fix the compilation issues, however I am not sure why the IT is failing. Thank you! |
|
@cicoyle it might be good if you take this issue, as you were involved.. IMHO the best way to proceed is to create a new PR using the changes from this PR, so we have no DCO issues and then make sure that the tests are green. |
|
Closing this PR to proceed with this PR |
Description
Add actor state TTL support.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #849
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: